/*                                  ATELIER                                   */

/* %%LICENSE_TAG%%                                                            */
package edu.gmu.view.canvas;

import java.awt.Graphics2D;
import javax.swing.JComponent;

/**
 * A Sprite represents a visual representation of an object.  Though not
 * explicitly related - Layers typically delegate painting responsibilities
 * to Sprites.  This allows different Layers to reuse painting routines.
 * 
 * @author  James H. Pope
 * @version $Revision:$ $Date:$
 */
public interface Sprite
{
    /*********************************************************************
     * Paints images on specified Component object using passed Graphics.
     *
     * @param component
     * @param graphics
     *********************************************************************/
    public void paintSprite( JComponent  component, Graphics2D  graphics );
    
}

/*                                  ATELIER                                   */